package com.fenghongzhang.module_main.ui.main.repository

import com.fenghongzhang.module_main.api.ApiService
import kotlinx.coroutines.flow.flow
import javax.inject.Inject

class MainRepository  @Inject constructor() {
    @Inject
    lateinit var apiService: ApiService

    // 一个空的API
    fun blankApi() = flow {
        emit(apiService.blankApi())
    }
}